package com.libinyn.base.pms.mapper.sys;

import com.libinyn.base.pms.entity.sys.SysUserRoleEntity;
import com.libinyn.base.pms.mapper.MyMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 用户与角色对应关系
 * @fileName: SysUserRoleMapper.java
 * @author: bin.li01
 * @date: 2017/12/15 10:59
 * @version: v1.0.0
 */
@Mapper
public interface SysUserRoleMapper extends MyMapper<SysUserRoleEntity> {

	/**
	 * 根据用户ID，获取角色ID列表
	 * @param userId
	 * @return
	 */
	List<Long> queryRoleIdList(Long userId);
}
